package main

import (
	"fmt"
	"go_code/20220714gotest/daily-test/202209/09/encapsulate/model"
)

func main() {
	p := model.NewPerson("smith")
	p.SetAge(18)
	p.SetSalary(20000)
	fmt.Println(p.Name, "age=", p.GetAge(), "sal=", p.GetSa())
}
